package com.xzc.gulimall.order.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xzc.common.utils.PageUtils;
import com.xzc.common.utils.Query;

import com.xzc.gulimall.order.dao.OrderCopy1Dao;
import com.xzc.gulimall.order.entity.OrderCopy1Entity;
import com.xzc.gulimall.order.service.OrderCopy1Service;


@Service("orderCopy1Service")
public class OrderCopy1ServiceImpl extends ServiceImpl<OrderCopy1Dao, OrderCopy1Entity> implements OrderCopy1Service {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrderCopy1Entity> page = this.page(
                new Query<OrderCopy1Entity>().getPage(params),
                new QueryWrapper<OrderCopy1Entity>()
        );

        return new PageUtils(page);
    }

}